package ciicos.check.model.checktask;

import ciicos.annotation.JnpfField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * 版本： V3.2.0
 * 版权:
 * 作者： 产研项目租
 * 日期： 2023-07-26
 */
@Data
public class CheckTaskItemModel {

    /**
     * ID
     **/
    @JnpfField(label = "ID",
            jnpfKey = "comInput", relationTable = "check_task_item", tableName = "check_task", vModel = "id")
    @JsonProperty("id")
    private String id;

    /**
     * 巡检名
     **/
    @JnpfField(label = "巡检名",
            jnpfKey = "comInput", relationTable = "check_task_item", tableName = "check_task", vModel = "name")
    @JsonProperty("name")
    private String name;

    /**
     * 最大值
     **/
    @JnpfField(label = "最大值",
            jnpfKey = "comInput", relationTable = "check_task_item", tableName = "check_task", vModel = "max")
    @JsonProperty("max")
    private String max;

    /**
     * 最小值
     **/
    @JnpfField(label = "最小值",
            jnpfKey = "comInput", relationTable = "check_task_item", tableName = "check_task", vModel = "min")
    @JsonProperty("min")
    private String min;

    /**
     * 巡检结果值
     **/
    @JnpfField(label = "巡检结果值",
            jnpfKey = "comInput", relationTable = "check_task_item", tableName = "check_task", vModel = "value")
    @JsonProperty("value")
    private String value;

    /**
     * 单位
     **/
    @JnpfField(label = "单位",
            jnpfKey = "select", relationTable = "assets_item_check", tableName = "assets_info", dataLabel = "fullName", dataValue = "enCode", dictionaryType = "451016419769843781", vModel = "unit")
    @JsonProperty("unit")
    private String unit;

    /**
     * 巡检结果
     **/
    @JnpfField(label = "巡检结果",
            jnpfKey = "select", relationTable = "check_task_item", tableName = "check_task", dataLabel = "fullName", dataValue = "id", dictionaryType = "530036686470517573", vModel = "result")
    @JsonProperty("result")
    private String result;
    @JnpfField(label = "巡检项",
            jnpfKey = "popupTableSelect", relationTable = "check_task_item", tableName = "check_task", vModel = "checkid")
    @JsonProperty("checkid")
    private String checkid;
    /**
     * 类别
     **/
    @JnpfField(label = "类别",
            jnpfKey = "select", relationTable = "check_task_item", tableName = "check_task", dataLabel = "fullName", dataValue = "enCode", dictionaryType = "529564962180304773", vModel = "type")
    @JsonProperty("type")
    private String type;

    /**
     * 是否已解决
     **/
    @JnpfField(label = "是否已解决",
            jnpfKey = "select", relationTable = "check_task_item", tableName = "check_task", dataLabel = "fullName", dataValue = "id", dictionaryType = "530675554454612613", vModel = "anomalyfinished")
    @JsonProperty("anomalyfinished")
    private String anomalyfinished;
    /**
     * 异常描述
     **/
    @JnpfField(label = "异常描述",
            jnpfKey = "comInput", relationTable = "check_task_item", tableName = "check_task", vModel = "anomalydesc")
    @JsonProperty("anomalydesc")
    private String anomalydesc;


    /**
     * 创建时间 巡检时间
     **/
    @JnpfField(label = "创建时间",
            jnpfKey = "date", relationTable = "check_task_item", tableName = "check_task", vModel = "creatortime")
    @JsonProperty("creatortime")
    private String creatortime;

    /**
     * 创建人 巡检人 记录人
     **/
    @JnpfField(label = "创建人",
            jnpfKey = "comInput", relationTable = "check_task_item", tableName = "check_task", vModel = "creatoruserid")
    @JsonProperty("creatoruserid")
    private String creatoruserid;

    /**
     * 修改时间
     **/
    @JnpfField(label = "修改时间",
            jnpfKey = "date", relationTable = "check_task_item", tableName = "check_task", vModel = "lastmodifytime")
    @JsonProperty("lastmodifytime")
    private String lastmodifytime;

    /**
     * 修改人
     **/
    @JnpfField(label = "修改人",
            jnpfKey = "comInput", relationTable = "check_task_item", tableName = "check_task", vModel = "lastmodifyuserid")
    @JsonProperty("lastmodifyuserid")
    private String lastmodifyuserid;

    /**
     * 排序
     **/
    @JnpfField(label = "排序",
            jnpfKey = "comInput", relationTable = "check_task_item", tableName = "check_task", vModel = "sortcode")
    @JsonProperty("sortcode")
    private String sortcode;

    /**
     * 点位名称
     **/
    @JnpfField(label = "点位名称",
            jnpfKey = "comInput", relationTable = "check_task_item", tableName = "check_task", vModel = "pointName")
    @JsonProperty("pointName")
    private String pointName;
    @JsonProperty("pointName_name")
    private String pointName_name;
}
